@layout("/common/container.html", {"title" : "模型管理"}){
<form class="e-form">
    <div class="card">
        <#card:head title="模型管理" icon="la la-bars"/>
        <div class="card-body">
            <div class="row">
                <!-- str:表单区域 -->
                <input type="hidden" id="id" name="id" value="${object.id}" />
                <div class="col-12">
                    <div class="form-group row">
                        <label class="col-form-label col-2" for="key">
                            <span class="required">*</span>
                            标识：
                        </label>
                        <div class="col-9">
                            <input type="text" class="form-control" required id="key" name="key" value="${object.key}">
                            <span class="form-text text-muted">标识为数字或字母,保存后不能修改</span>
                        </div>
                    </div>
                </div>
                <div class="col-12">
                    <div class="form-group row">
                        <label class="col-form-label col-2" for="name">
                            <span class="required">*</span>
                            名称：
                        </label>
                        <div class="col-9">
                            <input type="text" class="form-control" required id="name" name="name" value="${object.name}">
                        </div>
                    </div>
                </div>
                <div class="col-12">
                    <div class="form-group row">
                        <label class="col-form-label col-2" for="description">
                            描述：
                        </label>
                        <div class="col-9">
                            <textarea class="form-control" id="description" name="description">${object.description}</textarea>
                        </div>
                    </div>
                </div>
                <!-- end:表单区域 -->
            </div>
        </div>
        <div class="card-foot">
            <div class="e-form-actions text-center">
                <#btn:save permission="activiti:model:save"/>
            </div>
        </div>
    </div>
</form>
<!--begin::页面脚本 -->
<#script src="static/modular/activiti/model/input.js" />
<!--end::页面脚本 -->
@}